import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

class DataProvider with ChangeNotifier {
//  Locale("zh", "");
//  Locale("en", "");
  Locale _locale = Locale("zh", ""); //国际化语言设置

  Locale get isLocal => _locale;

  set locale(Locale isLocal) {
    _locale = isLocal;
    notifyListeners();
  }
}
